﻿<%@ Page CodeFileBaseClass="AliCMS.Lib.SystemPageBase" %>
<section data-page="utility_data_list" data-title="数据压缩和备份" data-lang="<%=ContentLang%>">
	<dl class="path1">
		<dt><span>您的位置：</span>数据压缩和备份</dt>
		<dd>
			<select data-class="<%=ContentLang%>Font" data-ali-widget="combo">
				<ali:List Object="Language" Source="Manager.Languages">
					<ali:Record>
						<%If Convert.ToString(Ab) == ContentLang%>
							<option value="<%=Ab%>" selected><%=[AliCMS.SystemModule.Alias.Language.Name + PageLang]%></option>
						<%Else%>
							<option value="<%=Ab%>"><%=[AliCMS.SystemModule.Alias.Language.Name + PageLang]%></option>
						<%EndIf%>
					</ali:Record>
				</ali:List>
			</select>
		</dd>
	</dl>
	<div class="ali-tabs sub-nav" data-height-style="fill" data-event="click">
		<div class="ali-tabs-header">
			<div class="ali-tabs-nav-container">
				<ul>
                    <li class="ali-active"><a>数据备份</a></li>
                    <li><a href="../task/list.aspx?Lang=<%=ContentLang%>" target="ali-navtab">计划任务</a></li>
                    <li><a href="../other.aspx?Lang=<%=ContentLang%>" target="ali-navtab">其他工具</a></li>
				</ul>				
			</div>
		</div>
		<div class="ali-tabs-body">
			<div class="ali-tabs-panel">
				<form action="" class="search1" style="display:none"></form>
				<form action="" class="add1">
                    名称：<input type="text" name="Name" maxlength="50"  class="ali-<%=ContentLang%>Font">
                    <a class="ali-button" data-operation="BackupDb">备份数据库</a>
					<a class="ali-button" data-operation="CompactDb">压缩和修复数据库</a>
					<a class="ali-button" data-operation="BackupSite">备份网站</a>
				</form>
				<div class="content">
					<table data-ali-widget="grid" class="grid1">
						<thead>
                            <tr>
                                <th>名称</th>
                                <th width="40">还原</th>
                                <th width="40">删除</th>
                            </tr>
						</thead>
						<tbody>
							<ali:List Object="Utility" Operation="GetDbBackupList()">
                                <ali:Record>
                                    <tr data-name="<%=Name%>">
                                        <td><%=Name%></td>
                                        <td><a class="ali-button" data-operation="RestoreDb">还原</a></td>
                                        <td><a class="ali-button" data-operation="Delete">删除</a></td>
                                    </tr>
                                </ali:Record>
                            </ali:List>
						</tbody>
					</table>
				</div>
			</div>
		</div>
		<div class="ali-tabs-bottom"><b></b></div>
	</div>
</section>